import { post, get } from "@/axios/http.js"

//登录,没有用到，采用跳转到公共登录页面
export const login = params => {
  return post("/educloud/student", params)
};

// 获取用户信息
export const getUserInfo = () => {
  return get("/educloud/myUserInfo")
};
//退出登录
export const logout = params => {
  return post("/educloud/logout", params)
};
